public class JavaCourse{
    String name;
    int studid;
    double score_test;
    double score_normal;
    double score_finical;
    double finical_test;
    public JavaCourse(String new_name,int new_studid, double new_score_test,double new_score_normal,double new_score_finical)
        {name=new_name;studid=new_studid;score_test=new_score_test; score_normal= new_score_normal;score_finical=new_score_finical; }
    double score_finical(){return score_test*0.3+score_normal*0.3+score_finical*0.4;}
}